Hiding array in apache_get_modules(); [closed]

Posted by John Smiith on Pro Webmasters See other posts from Pro Webmasters or by John Smiith
Published on 2012-07-08T14:49:21Z Indexed on 2012/07/08 15:23 UTC
Read the original article Hit count: 173

Filed under:
|

i wan't to view all apache modules i use script below

<?php
$amods = apache_get_modules();
print_r($amods);

This will output

Array
(
    [1] => mod_win32
    [2] => mpm_winnt
    [3] => http_core
    [4] => mod_so
    [5] => mod_actions
    [6] => mod_alias
    [7] => mod_asis
    [8] => mod_auth_basic
    [9] => mod_authn_default
    [10] => mod_authn_file

)

how to hide array ( ... i want to apache get modules like this

installed modules is

  • mod_php5
  • mod_authn_default
  • mod_userdir

etc

© Pro Webmasters or respective owner

Related posts about php

Related posts about apache2